from twisted.internet import reactor
from twisted.internet.protocol import ClientFactory
from twisted.protocols.basic import LineReceiver
from twisted.python import log

import curses 
import curses.wrapper #not being used right now

class PutterClient(LineReceiver):
    def __init__(self, screen):
        self.screen = screen

    def connectionMade(self):
        pass

    def clientConnectionLost(self, connection, reason):
        pass

    def lineReceived(self, line):
        self.screen.chatArea.addLine(line)
